package com.pr.makfilm.admin.pages;

import com.pr.makfilm.admin.cmp.menu.AdminMenuPanel;
import com.pr.makfilm.core.page.AbstractPage;
import org.apache.wicket.markup.html.basic.Label;

/**
 * Created by p.radomski on 24.01.14.
 */
public abstract class NewAbstractAdminPage extends AbstractPage
{
   @Override
   protected void onInitialize()
   {
      super.onInitialize();
      add(new AdminMenuPanel("menu"));
      add(providePageTitleLabel("pageTitle"));
   }

   protected abstract Label providePageTitleLabel(String id);
}
